<template>
  <div class="category">
    <h3>xxxx分类</h3>
    <slot></slot>
    <slot name="center"></slot>
    <slot name="footer"></slot>
  </div>
</template>

<script>
export default {
  name: "cateGory",

  props: ["title", "listData"],
};
</script>
<style>
.category {
  background-color: skyblue;
  width: 200px;
  height: 300px;
}
h3 {
  text-align: center;
}
</style>
